<title>添加菜单 - QAdmin后台模板</title>
<body>

<fieldset class="layui-elem-field layui-field-title">
    <legend>添加导航</legend>
</fieldset>


<form class="layui-form " action="">
    <div class="layui-form-item">
        <label class="layui-form-label">导航名称</label>
        <div class="layui-input-block">
            <input type="text" name="name" required lay-verify="required" placeholder="" autocomplete="off"
                   class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">导航排序</label>
        <div class="layui-input-inline">
            <input type="text" name="sort" placeholder="数小靠前 不填为99" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">导航分类</label>
        <div class="layui-input-inline">
            <select name="pid" lay-verify="required">
                <option value="0">顶级分类</option>
                <option value="9">1sssss</option>
                <option value="10">sss</option>
            </select>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">是否新窗</label>
        <div class="layui-input-block">
            <input type="checkbox" name="target" value="_blank" lay-text="开启|关闭" lay-skin="switch">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">是否连接</label>
        <div class="layui-input-block">
            <input type="checkbox" name="url_state" value="1" checked lay-text="开启|关闭" lay-skin="switch">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">连接地址</label>
        <div class="layui-input-block">
            <input type="text" name="url" placeholder="外部连接请填写http// 本站连接请填写模块名/控制器/方法名" autocomplete="off"
                   class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">是否显示</label>
        <div class="layui-input-block">
            <input type="checkbox" value="1" name="state" lay-text="开启|关闭" checked lay-skin="switch">
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <button class="layui-btn" lay-submit lay-filter="submit">立即提交</button>

        </div>
    </div>
</form>
</body>
